package com.hd.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * Created by 1 on 2017/10/27.
 */
@Controller
public class DispatchController {

    @RequestMapping("/{folder}/{page}/index")
    public String forward(@PathVariable("folder") String folder,@PathVariable("page") String page){
        return folder+"/"+page;
    }

}
